package com.us.usws.site.ws.entity.video.videoinfo;

import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.annotate.JsonPropertyOrder;

@JsonPropertyOrder({ "total", "praise", "censure", "url" })
public class WSVideoInfoComment {

	@JsonProperty("total")
	private int voteTotalCnt;

	@JsonProperty("praise")
	private int voteGoodCnt;

	@JsonProperty("censure")
	private int voteBadCnt;

	@JsonProperty("url")
	private String voteListUrl;

	/**
	 * @return the voteGoodCnt
	 */
	public int getVoteGoodCnt() {
		return voteGoodCnt;
	}

	/**
	 * @param voteGoodCnt the voteGoodCnt to set
	 */
	public void setVoteGoodCnt(int voteGoodCnt) {
		this.voteGoodCnt = voteGoodCnt;
	}

	/**
	 * @return the voteBadCnt
	 */
	public int getVoteBadCnt() {
		return voteBadCnt;
	}

	/**
	 * @param voteBadCnt the voteBadCnt to set
	 */
	public void setVoteBadCnt(int voteBadCnt) {
		this.voteBadCnt = voteBadCnt;
	}

	/**
	 * @return the voteTotalCnt
	 */
	public int getVoteTotalCnt() {
		voteTotalCnt = voteGoodCnt + voteBadCnt;
		return voteTotalCnt;
	}

	/**
	 * @return the voteListUrl
	 */
	public String getVoteListUrl() {
		return voteListUrl;
	}

	/**
	 * @param voteListUrl the voteListUrl to set
	 */
	public void setVoteListUrl(String voteListUrl) {
		this.voteListUrl = voteListUrl;
	}

}
